package com.ruoyi.report_gc.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钢筋焊接接头试验检测记录详情业务对象 report_gc_gjhjjtjlb_bs_detail
 *
 * @author llb
 * @date 2024-06-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class GjhjjtjlbBsDetailBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 焊接种类
     */
    @NotBlank(message = "焊接种类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hanjzl;

    /**
     * 钢筋牌号
     */
    @NotBlank(message = "钢筋牌号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gangjph;

    /**
     * 试件编号
     */
    @NotBlank(message = "试件编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shijbh;

    /**
     * 直径(mm)
     */
    @NotNull(message = "直径(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zhij;

    /**
     * 焊接长度(mm)
     */
    @NotNull(message = "焊接长度(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hanjcd;

    /**
     * 钢筋截面积(mm²)
     */
    @NotNull(message = "钢筋截面积(mm²)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gangjjmj;

    /**
     * 极限荷载(kN)
     */
    @NotNull(message = "极限荷载(kN)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jixhz;

    /**
     * 极限强度(MPa)
     */
    @NotNull(message = "极限强度(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jixqd;

    /**
     * 断口型式
     */
    @NotBlank(message = "断口型式不能为空", groups = { AddGroup.class, EditGroup.class })
    private String duankxs;

    /**
     * 断口离焊口距离(mm)
     */
    @NotNull(message = "断口离焊口距离(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal duanklhkjl;

    /**
     * 压头直径(mm)
     */
    @NotNull(message = "压头直径(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yatzj;

    /**
     * 弯曲角度(°)
     */
    @NotNull(message = "弯曲角度(°)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal wanqjd;

    /**
     * 试验结果
     */
    @NotBlank(message = "试验结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyjg;

    /**
     * 焊接质量评述
     */
    @NotBlank(message = "焊接质量评述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hanjzlps;


}
